package com.eedi.framework.tenant.convert;

import com.eedi.framework.tenant.controller.sys.vo.setup.SysSetupShortcutCreateReq;
import com.eedi.framework.tenant.controller.sys.vo.setup.SysSetupShortcutResp;
import com.eedi.framework.tenant.controller.sys.vo.setup.SysSetupShortcutUpReq;
import com.eedi.framework.tenant.dal.dataobject.SysSetupShortcutDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysSetupShortcutConvert {
    SysSetupShortcutConvert INSTANCE = Mappers.getMapper(SysSetupShortcutConvert.class);

    SysSetupShortcutDO convert(SysSetupShortcutCreateReq req);

    SysSetupShortcutDO convert(SysSetupShortcutUpReq req);

    SysSetupShortcutResp convert(SysSetupShortcutDO req);

    List<SysSetupShortcutResp> convert(List<SysSetupShortcutDO> req);


}
